Skip to content

MoveTables: Document --no-routing-rules#1573

Merged
rohit-nayak-ps merged 3 commits intoprodfrom
rohit/movetables-no-routing-rules-main
Aug 31, 2023
Merged

MoveTables: Document --no-routing-rules#1573
rohit-nayak-ps merged 3 commits intoprodfrom
rohit/movetables-no-routing-rules-main

Conversation

@rohit-nayak-ps
Copy link
Member

Documents flag added in vitessio/vitess#13895

@netlify
Copy link

netlify bot commented Aug 30, 2023

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit 2ad21e9
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/64f0b354ac570500089241f7
😎 Deploy Preview https://deploy-preview-1573--vitess.netlify.app/docs/18.0/reference/programs/vtctldclient/vtctldclient_movetables/vtctldclient_movetables_create
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@mattlord mattlord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to update the vtctldclient docs. You can generate them this way from the website repo:

go run ./tools/vtctldclientdocs/ --vitess-dir ${VTROOT} --version-pairs "rohit/movetables-no-routing-rules-main:18.0"

You'll need to do it for whatever versions we're changing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we back porting the PR? The PR doesn't have any backport labels ATM.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(there's also a make target that does this for you)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! Then you just need to set some env vars (you'll see which if you look at the Makefile).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, generated. No, we are not backporting. Documenting now only for v18.

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps force-pushed the rohit/movetables-no-routing-rules-main branch from 4958651 to 896c3ab Compare August 31, 2023 15:07
--defer-secondary-keys Defer secondary index creation for a table until after it has been copied
--exclude-tables strings Source tables to exclude from copying
-h, --help help for create
--no-routing-rules (Advanced) MoveTables Create only. Do not create routing rules while creating the workflow. See the reference documentation for limitations if you use this flag.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, didn't we remove the MoveTables Create only. part in vtctldclient since that is enforced properly in the code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I thought so too ... Removed locally and regenerated docs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, figured it out. Had accepted the change in the UI but not pulled the changes ...

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps merged commit 133c66c into prod Aug 31, 2023
@rohit-nayak-ps rohit-nayak-ps deleted the rohit/movetables-no-routing-rules-main branch August 31, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants